angular.module('faApp')
  .service('personalSupplierService', [ 'ajaxService',function (ajaxService) {

    this.personalSupplierList = function (cfg) {
      return ajaxService.post(ajaxService.getApiUri("PERSONAL_SUPPLIER_LIST"),cfg || {});
    }; 
    this.PersonalSupplierInfo = function (cfg) {
      return ajaxService.post(ajaxService.getApiUri("PERSONAL_SUPPLIER_INFO"),cfg || {});
    }; 
    this.PersonalSupplierSave = function (cfg) {
      return ajaxService.post(ajaxService.getApiUri("SAVE_PERSONAL_SUPPLIER"),cfg || {});
    };
    this.PersonalSupplierVisit = function (cfg) {
    return ajaxService.jsonp(ajaxService.getApiUri("FA_USER_VISIT"),cfg || {});
    }; 
    this.PersonalSupplierAddVisit = function (visit) {
    return ajaxService.post(ajaxService.getApiUri("FA_USER_VISIT_ADD"), visit || {});
  }; 
}]);
 



